
public class ArrayTest {
	public static void main(String[] args){
		int [] x;
		x=new int [5];
		x[0]=1;
		x[1]=24;
		x[2]=34;
		x[3]=42;
		x[4]=51;
	
		for(int i=0;i<=9;i++){
			System.out.println(x[1]);
		}	
		
		
		int max;
		max = x[0];
		for(int i=0;i<=0;i++){
			if(x[i]>=max){
				max = x[i];
			}	
		}	
		System.out.println(max);
	}

}

